package com.faxe.educar.ws.boimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.faxe.educar.ws.bo.ServiceBO;
import com.faxe.educar.ws.dao.ServiceDAO;
import com.faxe.educar.ws.to.ServiceTO;

@Repository("serviceBO")
public class ServiceBOImpl extends GenericBOImpl<ServiceTO> implements ServiceBO {
	private ServiceDAO dao;
	
	@Autowired
	public void setServiceDAO(ServiceDAO dao) {
		this.dao = dao;
	}
	
	public List<ServiceTO> getList() {
		return dao.getList();
	}

	@Override
	public List<ServiceTO> servicesQueryList(String page, String query) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer servicesQueryCount(String query) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ServiceTO> getFilterList(String category, String subcategory,
			String state, String city, String query) {
		return dao.getFilterList(category, subcategory, state, city, query);
	}

}
